package com.aaa.car.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * (MaintainRecord)实体类
 *
 * @author YuXin
 * @since 2020-11-25 19:16:04
 */
public class MaintainRecord implements Serializable {
    private static final long serialVersionUID = -76074032145785789L;

    private Integer id;
    /**
     * 车辆ID
     */
    private Integer carId;
    /**
     * 维修厂ID
     */
    private Integer maintainShopId;
    /**
     * 金额
     */
    private String amount;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//处理接收参数
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")//处理返回参数
    private Object addtime;

    private String remark;
    private String carName;
    private String name;

    public String getCarName() {
        return carName;
    }

    public void setCarName(String carName) {
        this.carName = carName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    public Integer getMaintainShopId() {
        return maintainShopId;
    }

    public void setMaintainShopId(Integer maintainShopId) {
        this.maintainShopId = maintainShopId;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public Object getAddtime() {
        return addtime;
    }

    public void setAddtime(Object addtime) {
        this.addtime = addtime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

}